package jtk.project4.fleet.event;

import java.util.List;

import jtk.project4.fleet.domain.Parts;
import jtk.project4.fleet.event.InventoryEvent.InventoryEventType;

import nl.coderight.jazz.Event;


public class InventoryEvent extends Event<InventoryEventType>{
	private List<Parts> inventory;
	public enum InventoryEventType{
		LOAD_SUCCESS,
		FILTER, VIEW,ADD,ADD2,CLOSE, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, HELP;
	}
	
	public InventoryEvent(InventoryEventType type){
		super(type);
	}

	public List<Parts> getParts(){
		return inventory;
	}
	public void setParts(List<Parts> inventory){
		this.inventory=inventory;
	}
	
}
